package com.xja.mapper;

import com.xja.bean.House;
import org.apache.ibatis.annotations.Mapper;

import java.util.HashMap;
import java.util.List;

/**
@author 李岩
@date 2021/12/23-10:32
@describe
*/
@Mapper
public interface HouseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(House record);

    int insertSelective(House record);

    //查询所有的街道信息
    List<House> selectAllHouse(HashMap map) throws Exception;
    List<House> selectAllHouse() throws Exception;

    House selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(House record);

    int updateByPrimaryKey(House record);

    House selectkey(Integer id);
}